﻿using System.IO.MemoryMappedFiles;
using Microsoft.Win32.SafeHandles;
using size_w = System.Int64;

namespace JiShiBen.Core.DataStructure
{
	public unsafe class Sequence
	{
		private MemoryMappedFile _hMemMap;
		private SafeFileHandle _hFile;
		private size_w _length;
		private size_w _fileBufferLength;
		private byte* _fileBuffer;
		private byte* _adjustedPointer;
		private size_w _mappedOffset;
		private size_w _mappedLength;

		public bool Init(string fileName)
		{
			
		}

		public bool Close()
		{
			
		}

		public size_w Size
		{
			get
			{
				
			}
		}

		public bool Render(byte[] buffer, size_w offset, size_w length)
		{
			
		}

		private byte* GetAdjustedPointer(size_w offset)
		{
			
		}


	}
}
